<template>
  <div class="q-pa-md">
    <div class="row items-start q-gutter-md">
      <t-responsive :ratio="16 / 9" class="col">
        <t-card class="column" flat bordered>
          <t-img class="col" src="https://cdn.quasar.dev/img/parallax2.jpg" />

          <t-card-section>
            <div>Ratio 16:9</div>
          </t-card-section>
        </t-card>
      </t-responsive>

      <t-responsive :ratio="1" class="col">
        <t-card class="column" flat bordered>
          <t-img class="col" src="https://cdn.quasar.dev/img/parallax1.jpg" />

          <t-card-section>
            <div>Ratio 1:1</div>
          </t-card-section>
        </t-card>
      </t-responsive>
    </div>
  </div>
</template>

<script>
  import { ref } from 'vue';

  export default {
    setup() {
      return {
        slide: ref(1),
      };
    },
  };
</script>
